import http from "./http.ts";

export type chatDto = {
    "code": number,
    "question": string,
    "conversationId": number,
    "useKnowledgeBase": boolean
}

export const AskWithKnowledge = (fromData:chatDto)=>http.post("/chat/ask",fromData)